package com.example.everying.model.entity.statistics;/*
 * 项目名称: everything
 * 文件名: UserActiveDaily
 * 作者: 张泽阳
 * 日期: 2025/7/7
 * 描述:
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UserActiveDaily {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("统计日期")
    private LocalDate statDate;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("当日登录次数")
    private Integer loginCount;

    @ApiModelProperty("当日使用总时长（秒）")
    private Integer totalDuration;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
